#!/usr/bin/php

<?php
$x = $_POST['dom'];
file_put_contents('/Users/max/tmp/schedule.html', urldecode($x));
file_put_contents('/Users/max/tmp/a', getcwd() . "\n");

file_put_contents('schedule.html', urldecode($x));
?>

